package cn.netbox.spring.pojo;

/**
 * description:
 * date: 2021/11/20 20:11
 * author: Alex
 * version: 1.0
 */
public class User {
    private String namea;

    public String getnamea() {
        return namea;
    }

    public void setnamea(String namea) {
        this.namea = namea;
    }

    @Override
    public String toString() {
        return "User{" +
                "namea='" + namea + '\'' +
                '}';
    }

    public User(String namea) {
        this.namea = namea;
        System.out.println("user有参构造方法");
    }

    public User() {
        System.out.println("调用到了user无参构造方法");
    }
}
